package cn.wizzer.app.user.modules.models.enums;

import lombok.Getter;

@Getter
public enum PhoneCodeEnum {
    // 发送手机验证码操作类型
    REGISTER("注册", "register"),
    UPDATEPHONE("修改手机号", "updatePhone"),
    RESETLOGINPWD("重置登录密码", "resetLoginPwd"),
    RESETTRADEPWD("重置交易密码", "resetTradePwd"),
    ;
    final public String NAME;
    final public String VALUE;

    /**
     * redis key
     */
    public static final String FIX = "code#phone#";

    PhoneCodeEnum(String name, String val) {
        NAME = name;
        VALUE = val;
    }
}
